package org.dick.demo.handler;


import com.core.annotation.Command;
import com.core.handler.ExecuteCommandHandler;
import lombok.extern.slf4j.Slf4j;
import org.noear.solon.annotation.Component;

import java.util.Map;

@Slf4j
@Command("user.login")
@Component(value = "UserLoginCmd")
public class UserLoginCmd extends ExecuteCommandHandler<String> {

    @Override
    protected String doExecute(Map<String, Object> params) throws Exception {
        log.info("执行登录逻辑，参数：{}", params);
        return "登录成功！";
    }
}
